﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apps.Models
{
    public class V_STATS_RC_PLAN_RESULT
    {

        [Key]
        [StringLength(40)]
        public string DETAIL_ID { get; set; }

        public DateTime PLAN_DATE { get; set; }

      
        [StringLength(40)]
        public string SUPPLIER_ID { get; set; }

      
        [StringLength(40)]
        public string TRANSPORT_ID { get; set; }

    
        [StringLength(40)]
        public string TEST_CODE { get; set; }
     

        public decimal GROSS { get; set; }
      
        public decimal TARE { get; set; }
      
        public decimal NET { get; set; }

       
        public decimal COEFFECENT { get; set; }

       
        public decimal CUTBILL { get; set; }

       
        public decimal BALANCE { get; set; }

      

      
        public string MAKE_CODE { get; set; }

       
        [StringLength(40)]
        public string BATCH_CODE { get; set; }

     
   

        [StringLength(40)]
        public string MINE_ID { get; set; }

        [StringLength(50)]
        public string MINE_NAME { get; set; }

        [StringLength(40)]
        public string MATERIEL_ID { get; set; }

        [StringLength(50)]
        public string MATERIEL_NAME { get; set; }

    

        [StringLength(50)]
        public string SUPPLIER_NAME { get; set; }

     

        [StringLength(50)]
        public string TRANSPORT_NAME { get; set; }
        public decimal? STATS_YEAR { get; set; }
        public decimal? STATS_MONTH { get; set; }

        public decimal? STATS_DAY { get; set; }
        public virtual int? MAKE_TYPE { get; set; }
        public Nullable<decimal> MT { get; set; }
        public Nullable<decimal> MAD { get; set; }
        public Nullable<decimal> AAD { get; set; }
        public Nullable<decimal> AD { get; set; }
        public Nullable<decimal> AAR { get; set; }
        public Nullable<decimal> VAD { get; set; }
        public Nullable<decimal> VD { get; set; }
        public Nullable<decimal> VAR { get; set; }
        public Nullable<decimal> VDAF { get; set; }
        public Nullable<decimal> FCAD { get; set; }
        public Nullable<decimal> FCAR { get; set; }
        public Nullable<decimal> CRC { get; set; }
        public Nullable<decimal> STAD { get; set; }
        public Nullable<decimal> STD { get; set; }
        public Nullable<decimal> STAR { get; set; }
        public Nullable<decimal> STDAF { get; set; }
        public Nullable<decimal> QBAD { get; set; }
        public Nullable<decimal> QGRAD { get; set; }
        public Nullable<decimal> QGRD { get; set; }
        public Nullable<decimal> QNETAR_MJ { get; set; }
        public Nullable<decimal> QNETAR_KCAL { get; set; }
        public Nullable<decimal> HAD { get; set; }
        public Nullable<int> APPROVAL_STATUS { get; set; }

       
        public Nullable<DateTime> UPDATE_TIME { get; set; }

        public Nullable<int> CARCOUNT { get; set; }
        
    }
}
